
class Animal{
    public void show(){
        System.out.println("haha");
    }
}
class cat extends Animal{
    public void miao(){
        show();
    }
}


public class Hello{
    public static void main(String[] args) {
        cat cat1=new cat();
        cat1.miao();
    }
}
